package com.cloud.sso.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.sso.dto.AppQueryDto;
import com.cloud.sso.entity.Application;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApplicationMapper extends BaseMapper<Application> {

    Application getByClientId(String clientId);

    List<Application> queryByPage(AppQueryDto dto);

    Integer getCount(AppQueryDto dto);

}
